package com.sevens.vo;

import java.util.HashSet;
import java.util.Set;

/**
 * Role entity. @author MyEclipse Persistence Tools
 */

public class Role implements java.io.Serializable {

	// Fields

	private Integer roleId;
	private String rolename;
	private String rolespecification;
	private Set rolepermissions = new HashSet(0);

	// Constructors

	/** default constructor */
	public Role() {
	}

	/** minimal constructor */
	public Role(String rolename) {
		this.rolename = rolename;
	}

	/** full constructor */
	public Role(String rolename, String rolespecification, Set rolepermissions) {
		this.rolename = rolename;
		this.rolespecification = rolespecification;
		this.rolepermissions = rolepermissions;
	}

	// Property accessors

	public Integer getRoleId() {
		return this.roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public String getRolename() {
		return this.rolename;
	}

	public void setRolename(String rolename) {
		this.rolename = rolename;
	}

	public String getRolespecification() {
		return this.rolespecification;
	}

	public void setRolespecification(String rolespecification) {
		this.rolespecification = rolespecification;
	}

	public Set getRolepermissions() {
		return this.rolepermissions;
	}

	public void setRolepermissions(Set rolepermissions) {
		this.rolepermissions = rolepermissions;
	}

}